//
//  CaptureInstallListCollectionViewCell.m
//  CarPark
//
//  Created by oceans on 2019/8/15.
//  Copyright © 2019 oceans. All rights reserved.
//

#import "CaptureInstallListCollectionViewCell.h"

@implementation CaptureInstallListCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
//    UILongPressGestureRecognizer *lon = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(sbPress:)];
//    [_backView addGestureRecognizer:lon];
//    lon.minimumPressDuration = 1;
}

- (void)sbPress:(UILongPressGestureRecognizer *)ges {
    
    if (ges.state == UIGestureRecognizerStateBegan) {
        [_delegate deleteCapture:self.tag];
    }
}

- (IBAction)sbPressed:(UIButton *)sender {
    [_delegate deleteCapture:self.tag];
}
@end
